package com.hyb.mapper;

import com.hyb.entity.Plan;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  销售计划Mapper 接口
 * </p>
 *
 * @author hyb
 * @since 2021-12-29
 */
@Mapper
public interface PlanMapper extends BaseMapper<Plan> {

    List<Plan> selectNotNullPlanResultBySaleId(@Param("saleId")Integer saleId);

    List<Plan> selectIsNullPlanResultBySaleId(@Param("saleId")Integer saleId);
}
